const express = require('express');
const airship = require('./routes/airship');

const app = express();
const port = 3000;
app.use(express.json());


// 添加解析表单数据的中间件
app.use(express.urlencoded({ extended: true }));

app.get('/', (req, res) => {
  res.send('Hello, Express!');
});

app.use('/airship', airship)

app.listen(port, () => {
  console.log(`Server is running on http://localhost:${port}`);
});

